package com.jinxin.platform.cdelecinspect.mapper;

import com.jinxin.platform.cdelecinspect.mapper.pojo.EleinspectPointManage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;

/**
 * <b>[eleinspectPointManage]数据访问接口</b>
 *
 * <p>
 * 注意:此文件自动生成-禁止手工修改
 * </p>
 *
 * @author @blue
 * @date 2020-03-31
 */
@Mapper
public interface EleinspectPointManageMapper {

	/**
	 * 插入一个数据持久化对象
	 *
	 * @param eleinspectPointManage
	 *            要插入的数据持久化对象
	 * @return 返回影响行数
	 */
	int insert(EleinspectPointManage eleinspectPointManage);

	/**
	 * 根据主键修改数据持久化对象
	 *
	 * @param eleinspectPointManage
	 *            要修改的数据持久化对象
	 * @return int 返回影响行数
	 */
	int updateByKey(EleinspectPointManage eleinspectPointManage);

	/**
	 * 根据主键查询并返回数据持久化对象
	 *
	 * @return EleinspectPointManage
	 */
	EleinspectPointManage selectByKey(@Param(value = "pointId") String pointId);

	/**
	 * 根据唯一组合条件查询并返回数据持久化对象
	 *
	 * @return EleinspectPointManage
	 */
	EleinspectPointManage selectOne(HashMap param);

	/**
	 * 根据param查询并返回数据持久化对象集合
	 *
	 * @return List<EleinspectPointManage>
	 */
	List<EleinspectPointManage> list(HashMap param);

	List<EleinspectPointManage> listPointsByLineId(@Param(value = "lineId") String lineId);

	/**
	 * 返回分页数据持久化对象集合
	 *
	 * @return List<EleinspectPointManage>
	 */
	List<EleinspectPointManage> listPage(HashMap param);
	/**
	 * 返回分页数据总数
	 *
	 * @return
	 */
	int listPageCount(HashMap param);

	/**
	 * 根据主键删除数据持久化对象
	 *
	 * @return 影响行数
	 */
	int deleteByKey(@Param(value = "pointId") String pointId);





}
